package com.zhentao.service;

import com.zhentao.dao.ClassesDao;
import com.zhentao.pojo.Classes;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ImpIClassesImpI implements ClassesService{
@Autowired
private ClassesDao dao;
    @Override
    public List<Classes> findAll() {
        return dao.All();
    }
}
